#include "Foundation.h"
#include "Hotel.h"

int main(int argc, char *argv[]) {
	srand((unsigned)time(0));

	/* Avoid stack allocated variables in main() to be
	 * reported as memory leaks by enclosing the body.
	 */
	{
		Singletons::InstantiateSingletons();

		mainMenu();
		
		Singletons::DeleteSingletons();
	}

#if defined(WIN32) && defined(_DEBUG)
	// Dump memory leaks to the OUTPUT pane in Visual Studio
	_CrtDumpMemoryLeaks();
#endif

	return 0;
}